package com.linln.modules.ticket.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.ticket.domain.TicketLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hibernate.annotations.Parent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


/**
* @Project: timo
* @Package com.linln.modules.ticket.repository
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modules.ticket.repository
* @Description: TODO
* @author : pengliang
* @date Date : 2020年11月23日 17:21
* @version V1.0
*/
@Mapper
@Component
public interface TicketLogMapper extends BaseMapper<TicketLog> {
    Long selectSameMonthVerificationCount(@Param("shopId") String shopId, @Param("date") String date);

    List<TicketLog> selectCurrentMonthTicketLog(@Param("ticketCode")String userId);
}
